-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reenable Cypress test and fix bugs it turned up #2405
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2405 +/- ##
==========================================
+ Coverage 86.02% 86.17% +0.14%
==========================================
Files 736 736
Lines 37816 37814 -2
Branches 9623 9626 +3
==========================================
+ Hits 32533 32586 +53
+ Misses 4982 4929 -53
+ Partials 301 299 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
collaborative-learning Run #13760
Run Properties:
|
Project |
collaborative-learning
|
Branch Review |
188158639-renable-and-fix-cypress-test
|
Run status |
Passed #13760
|
Run duration | 13m 55s |
Commit |
e757aaad08: include fixes that Ethan found in a closed PR
|
Committer | Scott Cytacki |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
3
|
Skipped |
0
|
Passing |
111
|
View all changes introduced in this branch ↗︎ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good -- thanks 👍
I'm going to rebase this on master because of the uncertainty of the local-storage-dev-root PR that it is current based on. |
Changes to the test: - need to comment on exemplar docs twice to make doc show up in the correct strategy sort group - deleting strategies is not supported, the test confirms the wrong behavior so we remember to fix it when we fix the behavior Other changes: - the requesting of the investigation by ordinal was wrong and was causing console warnings, fixing this also has fixed part of the issue with titles PT-188227517 - removed the firestoreTagDocumentMap, it was not actually being populated so was not really used in getTagsWithDocs. - handle the case where users comment on exemplar documents. Previously this was causing duplicate items in the sort work groups.
8dea7f8
to
e757aaa
Compare
Changes to the test:
Runtime changes:
Cypress config changes:
test:cypress:ci
npm scriptcypress.dev.json
configurationcypress.local.json
so local runs of Cypress have a shorter timeout. This way you only have to way 5 seconds instead of 1 minute for Cypress to give up looking for something to exist or not exist. The default configuration is still 1 minute which will be used when Cypress is run on GitHub